from flask_migrate import Migrate, MigrateCommand
from flask_script import Manager

from config import *
from info import *
from info.modules.index import blue_print

app = create_app(DevelopmentConfig)

app.register_blueprint(blue_print)

manager = Manager(app)
Migrate(app, db)
manager.add_command("db", MigrateCommand)


if __name__ == '__main__':
    manager.run()
